package com.example.wechatappbackend.service;

import com.example.wechatappbackend.VO.OrderVO;
import com.example.wechatappbackend.common.CommonResponse;
import com.example.wechatappbackend.common.JsonMsg;
import com.example.wechatappbackend.entity.Order;
import com.example.wechatappbackend.entity.OrderDish;

import java.util.Date;
import java.util.List;

public interface OrderService {
    JsonMsg getOrdersByOpenId(String openId);
    JsonMsg getOrderByOrderId(String OrderId);

    CommonResponse<OrderVO> insertOrder(String openId, OrderVO orderVO);

    CommonResponse cancleOrder(int orderId);
}
